//
//  AMEditView.h
//  WeiDu_1_0
//
//  Created by foguo-mac-1 on 01/07/16.
//  Copyright (c) 2016 WeiDu Energy Tech. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HOBaseView.h"

@protocol HOEditViewDelegate;
@interface HOLimitedEditView : UITextView
{
    NSString            *_placeHolder;
}
@property(nonatomic, retain)NSString *placeHolder;
@end

@interface HOEditView : HOBaseView<UITextViewDelegate>
{
    int                         currentCount;
    HOLimitedEditView               *inputBox;
    UILabel                     *inputCountCalLbl;
    int                         _limitedCount;
}
@property(nonatomic, assign)int limitedCount;
@property(nonatomic, retain)NSString *placeHolder;
@property(nonatomic, assign)id<HOEditViewDelegate> delegate;
- (UITextView *)getTextView;
- (void)setKeyboardType:(UIKeyboardType)type;
- (NSString *)getText;
- (void)setText:(NSString *)text;
- (void)hideLimitedCountView;
- (void)updateLayout;
@end
@protocol HOEditViewDelegate <NSObject>
@optional
- (void)popupHintView:(NSString *)content;
- (void)hideHintView;
- (void)sendNow:(HOEditView *)endView;

@end
